RSMo 509.300
Failure to state a claim or defense, raised on motion, when
[version effective 8/28/1943]
The objections of failure to state a claim upon which relief can be granted or to state a legal defense to a claim may be raised by motion when these objections appear on the face of the pleadings.
--------
(L. 1943 p. 353 § 62)