Assert for end of project declaration

— just for sure that it is properly called