Added 'behave' implementation.