Fixed private method visibility issue