“The plaintiff is master of his complaint, but his power is not absolute,” the opinion stated.