Some exporatory stuff for refdat editor