Maintenance of machinery and tools