Split out input checking to static class