Removed unused objects and ref