Metamechanics