Document imenu support