Added method security configuration.