Support headers in actions.

Fix #7