Class method with multiple return values