Fixed set function specs, including propper typing and delete.