Removed static Messages class, moved it to the Output class