Don't use props.name for setting the name since it may not be set if options are passed in