Revert "A first go at adding arbitrary function dispatch."

This reverts commit ffab18e4446cfa8bafdf3d91c5c4ff1c24124c9c.