Delete unnecessary abstraction from stubbed out SecurityElement (#27474)