Massively cut back the API.

This might have been a bad idea.