Replace use of DIO by Casto plug