add Base master doctype