Removing railties dependency.