Change scopes over to Rails 4 syntax.