Started to implement user-defined actions.
Need to compile the body and replace formal params with actual params.