Move getFunctions
Revert f9bf293..1b0fa1c

This rolls back to commit f9bf293f125e941eddb0ac500610dc85f30926a2.