Fixes set() implementation in spec