Updated for generic object functions, and added sync objects file