Added API functionality

Do we need this line? Travis will start from scratch every time.