Try to clean up those error checking things.