Do not remove autoloads
Merge pull request #1510 from dholm/bugfix/session

Do not remove autoloads from session