Fixes use of hierarchy for securing methods