fix(object): required and expected should not be enumerable