Finalizing Library class