Invoke function when used as property