Remove useless properties