Fixes minor errors.