Added auto cache table creation.