Prepared for GUI implementation.