Added RDB_DECLARE_SERIALIZABLE in place of explicit template declarations.