Added method for registrating project open/close events