Updated type directive to v0.2.2