Fixes in registering open generics. Problems still exist.