Added level end behavior.