Add constructors for some classes