Initial import of overload implementation -- from Marco Ceccheti's 0.3.0 release, with minor modifications for 'boostification'.