Minor changes to Behavior.java