removing hard dependency from railties