Solves #26.