Remove rails-api dependency.