Move examples into api docs