Redundant object creations removed