Reduced overhead for specialisation of classes using partial