As Scott points out, it's common to encapsulate tasks as objects. This is perhaps the issue you missed in the "composition" example above.
And just in case you haven't bothered to read the GoF book:
[link|http://c2.com/cgi/wiki?CategoryBehavioralPatterns|http://c2.com/cgi/wi...ehavioralPatterns]