Add returning 405 functionality