Fixed a few issues with methods that take enumerables as parameters.