Fix attributes not being used