Add meaningful error messages.