Added doc for Type func