Solves #34.