Adding native utilities, and some exception handling