Fix a bug with the self name not being decoded correctly.