Added funds and subfunds to the api wrapper.