Use compose method instead of composer
Merge pull request #1725 from tschaub/patch-1

Use compose method instead of composer