Converting Behavior class to interface IBehavior