More work on clockport interface.