Think we could change this to be `if defined?(Rails::Railtie)`