Removed API deprecated in 0.6.0 and earlier. Fixes #822.