Revert "WIP invalid input checks"

This reverts commit b0623810988fb120fbd9c3a4fcefbb8577b36c11.