Cleanup old API code

Drop the records code in favor of the new API code. Also remove tests
and documentation related to the old code.