Fixed spec for set functions.