Add support for info objects in API declaration