Add documetnation to offline constructor