Handle formats.