Message type is now a proper enum