Added behaviors to the end of phrases, integrated with the loading and generating.