Ported to use Yampa-core.