Lazyload rewrites with prototypes