Add native support for custom slots.