Fixed edoc problems