it was missing the string cast method, which is often expected.