Yes. it is ok. To require this file users need to require `action_dispatch` first to setup the proper hooks.