Replaced ottypes with ot-* libraries