Again, this looks like the allowed methods can be changed, like adding or removing some. But that's not the case.
Why not simply inline the allowed methods in `setMethod`?