Add tables for sublibraries.