Added interface to API