- { actions.insert(typename ActionMap::value_type(k, new LoaderFunc4<L, A0, A1, A2, A3>(func))); }
+ { add(k, new LoaderFunc4<L, A0, A1, A2, A3>(func)); }
+
+ template<typename L, typename A0, typename A1, typename A2, typename A3, typename A4>
+ void add(const std::string &k, void (L::*func)(A0, A1, A2, A3, A4))
+ { add(k, new LoaderFunc5<L, A0, A1, A2, A3, A4>(func)); }
+
+ /** Adds a keyword that is loaded into a member of the loaded object. */
+ template<typename L, typename T0>
+ void add(const std::string &k, T0 L::*p0)
+ { add(k, new LoadValue1<L, T0>(p0)); }