Change Phase class to an interface (abstract class).