Add dynamic dispatch + 4d example.