enabled not-pickling functions when exporting model to dictionary (default)
Automatic style corrections courtesy of autopep8