Made slot a user defined type.