Added behavior addition code.