Example of applying Interface Segregation principle