Define functions without introducing new scope