Made saveObject() protected