change methods calls for BOOST_PP_REPEAT for the library generation