Refactoring using metasimplebehaviors.