Untemplate inverse dynamics.