Fix deployment issues. Closes #125.