Add DynamicEntity class.