Removed slow and unneeded table copying stuff