Fix EmptyRegistry to match the updated registry interface