Remove internal functions from API. More docs.