General work on bot behavior.