Robustify EAN API components
Rename EAN functions to be standard