Adding an instanceof function to the base object
Removing short demo code