Updated type directive to v0.2.1