Pull the logic to find class & defined type definition params into the index hash
Use the new :tokens and :param_tokens helpers in the checks
Pull the logic to find resource types and params into the index hashes
Use the new :type and :param_tokens helpers in the checks