Fixed some API ref issues