yeah, the 2.0 theme engine has a message collection class which is pretty nice.