Add lazy document loading