A gentleman removes his hat indoors, when speaking to a lady, or when eating, unless indoors is in a synagogue. It is never inappropriate for a lady to wear a hat, but ladies do not wish to wear large hats to spectacles where they will block the view of those behind them. Ladies also cover their heads before entering mosques. This is mostly per Miss Manners, whom I obey in most things.