Use the 'sessionmaker' function as argument to 'scoped_session'. As a result, it's no longer possible to provide a session object, but rather a session class, as a means of using a custom implementation. This fixes issue #147.