Fix api references