Safety check for page factory in "createFromNodeElement" methods
Adding "instanceof" checks to be catch any incorrect annotation usage