Check for new and make register private

Added a check to see if the constructor has been instantiated with the
new keyword and made register private.