Updated object.cpp code for compilation (duplicate default parameter definitions, bool return values).