err, this is a php code example. or you mean we should repeat the code with all the different mapping types? for the others, would you simply show the mapping but not the class?