Improves attributes hash