Simplified the simplified API based on suggestions by @stevenjg.