Eliminated type checking in favor of more pythonic duck typing (except basestring checks)