Added a complex sample to the docs.