Move result class to the interface