Partially fix passing :project to class methods