server/: Build a proper interface for handling tunnel classes.