clean up / minimize namespace, remove obsolete fns (might be better
suited for another library / distinct software)