Change the type of edge value from Object to Generic.