Improve Doc Component's metabox and Template