Remove unused private methods.