Just make `reference_type` a class attribute, since it's static.