#86 support dynamic tasks and definition registration