From namedtuple to class for registry options (fixes #55)