Added support for NSCoded objects