Fix a few errors found during deployment.