That looks quite strange, why not simply use f as function argument and then `f.os_name`?