TypeNotRegisteredException is now public instead of internal