Fix attributes declaration