Added a more complex use case. Closes #51.