CLEANUP: Use standard library for throwing an instantiation error.