Redundant error messages removed.