Made modules behave better in Gmail