Resolves #11 by changing example code.