Remove closure-style function