Remove methods which are not exposed to public and hence not used.