Change class to interface