Implemented #4, added Feature.FAIL_ON_UNKNOWN_TYPE_WRITE