Handle weighted tables in layouts.