RegisterAll, Documentation, Sample