Updated docs to correctly work for 3.1.x and future (mentioned in issue #52)