Slot support for custom variables and _deleteCustomVar method.