Baby steps to register custom type and add action.