Restructured doc to split examples from reference.