Handles includesBegin, putsBegin and putsEnd.