Hiding irrelevant symbols in library and fixed a few memory leaks.