Fixes #30 by checking for tuples.