Solves #7.