Got rid of unecessary EdgeRef class