Changed from formatter abstract class to interface.