Removed locally declared functions from functx module

References #613.