refactored some usages of methods in foreign objects