Override initializer of ActiveRecord to set reloader hooks.