Switch to NSTextAlignment type.