make register_parser a director method