Remove some attributes for unicorn.