Implement Telekinesis magic effect. Remove some duplicate code.