Updated documentation on autocasting