Remove unnecessary private method.