Fix potential bug where class had wrong docs url