I'm fine with this as is, but another option - that is more inline with other languages - is to forward declare at the top of the file since functions are first class objects.