Added check for undefined methods in case of security UserInterface