fixing Irie.register_extension