Add DynamicValidEntity class.