Cleaning up action lookup.