Fix for allowing the REG_BINARY type and introducing the default attribute