Return code enum should be public so other code can check it