Added lots of boilerplate to object.cpp, breaks build