Interface as contract for the Registry class