Add constructors to models