extend Exitcode API - make return code public