Export as api, instead of the complete object