Added look function and getters for name and type