improved docs for unboxing functions