Added compose functions to include.

This addresses issue #5.