pmd fixes for InteractiveObject
removed unneccesary code