Replaced the static methods in Graha classes