Added type functions example.