Removed custom errors as unnecessary.