Update autoload.php

Note to self: unit tests.