Make sure functions don't end up in their own scope