removed dependency on LGPL code.