Fixed the check for simpleSchema methods