Struct with method with default value.