Is it possible to create custom slots for objects?