Added check for arglist type for bundle and body.

 Report error if not valid type