Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Tidy up the code for the last check-in and use macros to allow replication of the functions for each type.