Added autoload

Added autoload directive.