Converts access of static variables via instances to static calls instead.