in reply to General module question
you write that s1 () and s2 () are methods that are not bound to one specific namespace. i suggest you put this two functions into an separated one - called for example foo::bar::helper or whatsoever.
that underlines the aspect that the functions do not belong originally to foo::bar.