Library modularization, SQL library wrapping support