Add clear() method to Interface class, make Pattern.clear() invoke Interface.clear().