Added a field to verify classes/modules passed in are valid