Fixing prototype instantiation.