Add basic selection support.