Use lazy load hooks in Railtie