use self for the self object in example headers

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>