Extract model code into toughguy gem.