Removed unused method definition from header file to fix semantic issue warnings. Fixed value conversion issue warning