Function reprotoypting in different scopes.