missing onopen callback and docs