Implemented `oneOf()`.