Delayed import error for doc use