Added API wraper.