Completely rewriting behaviors