Maintenance of mechanical parts