Patch: old reference behaviour is maintained outside of development mode
When run outside of development mode, the old reference behaviour for before
and beforeRequest
is maintained (but a console warning will still be logged).
An error will still be thrown in development mode for methods run which fail the check.