Renamed mutator methods
Added designated initializer initWithType: