Removed old API code & removed bleach
optimized ca_convert()