adding methods_allowed