added type support to GenericEmitter, profile() to Toolbox