Register decorated methods in cors_allow_methods