Refactor the Project classes.