added: generic interface changed: factory functions return RefPtr?
The unittests don't pass right now, because of the change to the factory functions, which leads to containers being immediately destroyed as they are not assigned to a RefPtr?.