Finalizing libraries