Added autoload static method example to api file.