Create tables dynamically.