Formatting, error handling.