Remove dependency on serial/console