Clean image and object processing and deprecate code