Fixed some problems with empty behaviors.