Removed keyword arguments from decode() to support versions of Python < 2.7