In order to avoid issues, we should use the newly introduces possibility to attach a type to the slots.