Ensure a selector was passed.