Initial simple library API.