Added visible and enabled properties to Behavior