Define type translation