* Move allowed tag logics to config.