Auto-insert @allowed_methods