Rails 4 cleanup.