Well, if ```:allowed-methods``` can be a function, then should ```:patch-content-types```as well.