behavior composer refactoring complete, tests done.