Added API. woot!