Adding $type comment and adding valid examples