Do these inline functions look ugly? I think they do, but wasn't sure how to do this with the right scope.