Reorder some functions.
Restrict exports from MQTT.Types.