Bug correction on exposing the lib.