Added tern plugin