Optimize `isConstructor`

Only create a single instance using the constructor.

Closes #3.