Fix definitions of slots