Avoid creating mutable models on python < 2.7