Solved bug in model serialization.
Added some profile configuation options.