Add argument validation for ClamEngine methods.