Added parsing and typing of statlists.