looping through classes using require I have a number of plugin classes each of which have a method ‘enable’. The following code works