Put atribute type back and added docs