Added castling flags.