Remove dependency on GUI libraries.