@cedric: "Since it’s an extension function, its implementation runs on the Account instance itself (in other word, this is of type Account), which means the function has access to everything defined on that class, including private members" are you sure that's correct?