Update API for new 0.7.0 changes.