making type attribute available.