Handle custom actions type 1 and 2.

3 files changed