Added API clases with interfaces.