Functions in
slot-factory.h