Annotated example taken straight from CTools module.