Add build_tags method