Fix API definition