Remove two redundant allow attributes.