Systematically replaced calls to $source->from with $class->table

This change allows virtualized sources to work correctly