Solves #11.