Updated security check to the use of method attributes