manipulateClass() refactor
Bug fix for .parent()