Rename ClassOptions::setClassOptions to setObjectOptions