Implemented a portion of Lazy.js API