Added some functionality to the project model.