JJ/HM: 405 NotAllowed added as a function