More work on integrating the physics system.